<%-- 
    Document   : users
    Created on : Oct 25, 2009, 2:44:03 PM
    Author     : sayid
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.TreeMap" %>
<%@page import="org.grnt.buddy.UserDecorator" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
		<%
			TreeMap<Long, UserDecorator> users =
					(TreeMap<Long, UserDecorator>) this.getServletContext().getAttribute("users");
			for(UserDecorator userItem: users.values()){
		%>
				<br/>
				<%=userItem.getUserBean().getLoginName()%>
		<%
			}
		%>
    </body>
</html>
